package mark.tom.pistols.encryptor.ciphers;

import mark.tom.pistols.algorithm.encryption.AESEncryption;
import mark.tom.pistols.encryptor.DataEncrypt;

/**
 * @Description: AES算法进行数据加密的方法
 * @Author: ttmk110@163.com
 * @Package: mark.tom.pistols.encryptor.ciphers
 * @Date: 2020/7/11
 * @Copyright: 版权归 Mark 所有
 * <ModifyLog>
 * @ModifyContent:
 * @Author:
 * @Date: </ModifyLog>
 */
public class AESDataEncrypt extends DataEncrypt {

    @Override
    public String getEncryptData(String input) throws Exception {
        return AESEncryption.encrypt(pubKey, input);
    }
}
